package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 用户评价：(UserEvaluate)表实体类
 *
 */
@TableName("`user_evaluate`")
@Data
@EqualsAndHashCode(callSuper = false)
public class UserEvaluate implements Serializable {

    // UserEvaluate编号
    @TableId(value = "user_evaluate_id", type = IdType.AUTO)
    private Integer user_evaluate_id;

    // 商家用户
    @TableField(value = "`merchant_users`")
    private Integer merchant_users;
    // 商家姓名
    @TableField(value = "`merchant_name`")
    private String merchant_name;
    // 民宿名称
    @TableField(value = "`name_of_homestay`")
    private String name_of_homestay;
    // 普通用户
    @TableField(value = "`ordinary_users`")
    private Integer ordinary_users;
    // 用户姓名
    @TableField(value = "`user_name`")
    private String user_name;
    // 用户评价
    @TableField(value = "`user_evaluate`")
    private String user_evaluate;




















				// 来源表
	@TableField(value = "source_table")
	private String source_table;
	
	// 来源ID
	@TableField(value = "source_id")
	private Integer source_id;
	
	// 来源用户ID
	@TableField(value = "source_user_id")
	private Integer source_user_id;
			


	// 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
